package com.mxpio.erp.common.common.provider;

import com.mxpioframework.jpa.query.Criterion;
import com.mxpioframework.jpa.query.Operator;
import com.mxpioframework.jpa.query.SimpleCriterion;
import com.mxpioframework.security.access.datascope.provider.DataScapeContext;
import com.mxpioframework.security.access.datascope.provider.DataScapeProvider;
import com.mxpioframework.security.util.SecurityUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Author : wpp
 * @Datetime : 2023/4/19 14:25
 * @Desc :
 * @Modor :  Modifytime:
 * @modDesc : 通用 空过滤器，不处理任何过滤条件（和其他过滤范围搭配使用）
 */
@Component
public class NoFilterProvider implements DataScapeProvider {
    @Override
    public List<Criterion> provide(DataScapeContext context) {
        return new ArrayList<>();
    }
}
